#include "testDrive.h"

void printMenu();
int getTest();

void main ()
{
	int op;

	logger::init();
	printMenu();
	op = getTest();
	switch (op){
	case 0:
		compareOperatorsTest();
		constructorTest();
		mathOperationTest();
		performanceTest();
		break;
	case 1:
		constructorTest();
		break;
	case 2:
		compareOperatorsTest();
		break;
	case 3:
		mathOperationTest();
		break;
	case 4:
		performanceTest();
		break;
	}
	logger::print();
	system("notepad.exe output.txt");
	
}

void printMenu(){
	cout << "BigNumbr TestDrive" << endl;
	cout << "-----------------------------------" << endl;
	cout << "0: All" << endl;
	cout << "1: constructors" << endl;
	cout << "2: Compare Operators" << endl;
	cout << "3: Math Operators" << endl;
	cout << "4: Performance Test" << endl;
	cout << "Select Test: ";
}

int getTest(){
	int op = 0;
	cin >> op;
	return op;
}















